package edu.Thread;

public class ExtendsThreadDemo extends Thread{

	public void run() {
		Thread.currentThread().setName("asd2");
		for(int i=0;i<=10;i++) {
			System.out.println(Thread.currentThread().getName()+i+",");
		}
	}
	
}
